package cas.ihep.alluxio;

import java.io.Closeable;
import java.io.IOException;

public interface AlluxioFile extends Closeable{
    long getLength();
    AlluxioFile open()throws IOException;
    AlluxioBlock getBlock(int idx)throws IOException;
    AlluxioBlock nextBlock()throws IOException;
    boolean canRead();
    boolean canWrite();

    AlluxioSystem getSystem();
}
